package com.xiaobai.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yangdaji
 * @version 1.0 @Description:
 * @date 22-2-12 下午 3:42
 */
@Slf4j
@RestController
@RequestMapping("/home")
public class SecurityDemo {

    @RequestMapping("/tologin")
    public String login() {

        return "登录成功!";
    }

    @RequestMapping("/get1")
    public String vip1() {
        return "vip1";
    }

    @RequestMapping("/get2")
    public String vip2() {
        return "vip2";
    }

    @RequestMapping("/get3")
    public String vip3() {
        return "vip3";
    }

    @RequestMapping("/get4")
    public String vip4() {
        return "vip4";
    }
}
